<!doctype html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <div th:replace="~{theme/wuxia/common :: meta}"></div>
    <meta property="og:title" th:content="${'友链 | ' + #servletContext.getAttribute('configMap')['blog_name']}" />
    <title>友链 | [[${#servletContext.getAttribute('configMap')['blog_name']}]]</title>
    <div th:replace="~{theme/wuxia/common :: link}"></div>
</head>

<body>
        <div class="wrap">

            <div class="cover">
                <img th:src="@{${prefix} + '/source/images/bg-01.jpg'}" alt="">
                <div class="fadeBottom"></div>
            </div>

            <div th:replace="~{theme/wuxia/common :: nav}"></div>

            <div class="main">
                  <div class="link-content">

                     <div class="link-item">
                          <h2>
                              <span>本站信息</span>
                          </h2>
                          <ul style="padding: 0 1rem">
                              <li>站名: [[${#servletContext.getAttribute('configMap')['blog_name']}]]</li>
                              <li>地址: [[${#servletContext.getAttribute('configMap')['home_page']}]]</li>
                              <li>Logo: [[${#servletContext.getAttribute('configMap')['logo_url']}]]</li>
                              <li>描述: [[${#servletContext.getAttribute('configMap')['description']}]]</li>
                          </ul>
                     </div>

                      <div class="link-item">
                          <h2>
                              <span>兵器谱</span>
                          </h2>

                        <div class="container" style="padding: 0 2rem">
                           <div class="row" th:if="${#lists.isEmpty(webSiteList) == false}">
                              <div class="col-md-4 col-sm-6 col-xs-12" th:each="link,iterStat: ${webSiteList}">
                                    <a class="link-item-tool" th:href="@{${link.homeUrl}}" target="_blank">
                                      <div class="bg"></div>
                                      <img class="lazyload avatar" th:if="${#strings.isEmpty(link.logo) == false}" th:data-original="@{${link.logo}}">
                                      <span th:if="${#strings.isEmpty(link.logo)}" class="avatar">
                                          <svg t="1623045566978" class="icon" viewBox="0 0 1030 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2595" width="64" height="64"><path d="M215.559025 367.753963a29.524485 29.524485 0 0 1-20.89425101-8.660516L8.660516 173.089189a29.53962599 29.53962599 0 0 1 0-41.78850301l122.64017001-122.64016999a29.53962599 29.53962599 0 0 1 41.78850299 0l186.004258 185.973977a29.53962599 29.53962599 0 0 1 0 41.788502l-122.64017 122.64017a29.524485 29.524485 0 0 1-20.894252 8.690798zM71.343269 152.194937l144.200616 144.200615 80.866808-80.881949-144.185474-144.185474z" fill="" p-id="2596"></path><path d="M303.769103 237.452567l172.604685 172.604684 145.85095799-145.74497301A207.428436 207.428436 0 0 1 904.811923 19.773835l57.83771 24.93683501-99.747338 99.65649299-0.378519 24.22521901 27.253371-0.37851901 98.308966-98.21812099 24.936835 57.92855399a207.246747 207.246747 0 0 1-190.304235 289.597351 208.80624599 208.80624599 0 0 1-54.097942-7.101018l-145.866099 145.850958 86.711143 86.71114301 73.568961-73.56896101 60.426781 60.42678-24.63402 24.543175 166.01845299 166.033593a112.193045 112.193045 0 0 1 0 158.53891701 111.950793 111.950793 0 0 1-158.538916 0L660.379465 813.02862599l-24.55831501 24.55831501-60.42678-60.42678 73.56896101-73.568962-86.771706-86.801987-145.941802 145.85095799A207.428436 207.428436 0 0 1 133.84433399 1007.012065l-57.92855399-24.84599 98.30896599-98.308966 0.37851901-27.25337099-24.22521901 0.28767399-99.74733899 99.747339-25.027679-57.73172499a207.428436 207.428436 0 0 1 244.371895-282.6326l145.850958-145.85095801-172.604684-172.604684m428.483558 454.72249799L862.266383 943.087769a61.314029 61.314029 0 0 0 86.711142-86.71114301L758.49160199 665.79985801l-37.59451198 37.59451198zM165.215992 964.72391801a156.631181 156.631181 0 0 0 198.34398-200.64537501l-5.374971-15.140762L550.83605399 556.271587l204.06718701-204.067187 15.140762 5.374971A156.600899 156.600899 0 0 0 970.704519 159.12940601l-59.56375699 59.59403899-100.12585801 1.514076 1.347528-97.158269L873.561391 62.077123a156.600899 156.600899 0 0 0-198.55595 200.64537499l5.465815 15.14076201-204.05204599 203.976343-192.65105301 192.62077101-15.140762-5.46581501A156.631181 156.631181 0 0 0 67.86089399 867.565649l61.09297401-61.092973 97.11284599-1.347528-1.347528 100.035013z" fill="" p-id="2597"></path></svg>
                                      </span>
                                      <div class="info">
                                          <div class="name">[[${link.title}]]</div>
                                          <div class="desc">[[${link.remark}]]</div>
                                     </div>
                                    </a>
                              </div>
                            </div>
                          <div th:if="${#lists.isEmpty(webSiteList)}" style="text-align: center;animation: slowUp 2s">暂无数据</div>
                       </div>
                    </div>

                     <div class="link-item">
                          <h2>
                              <span>江湖好友</span>
                          </h2>

                        <div class="container" style="padding: 0 2rem">
                            <div class="row" th:if="${#lists.isEmpty(bloggerList) == false}">
                                <div class="col-md-4 col-sm-6 col-xs-12" th:each="link,iterStat: ${bloggerList}">
                                    <a class="link-item-tool" th:href="@{${link.homeUrl}}" target="_blank">
                                      <div class="bg"></div>
                                        <img th:if="${#strings.isEmpty(link.logo) == false}" th:data-original="@{${link.logo}}" alt="" class="avatar">
                                        <img th:if="${#strings.isEmpty(link.logo) == true}" th:src="@{${baseLink} + '/source/images/1.jpeg'}" alt="" class="avatar">
                                     <div class="info">
                                        <div class="name">[[${link.title}]]</div>
                                        <div class="desc">[[${link.remark}]]</div>
                                     </div>
                                    </a>
                                </div>
                            </div>
                            <div th:if="${#lists.isEmpty(bloggerList)}" style="text-align: center;animation: slowUp 2s">~~虚席以待~~</div>
                        </div>
                     </div>

                     <div class="link-item">
                          <h2>
                              <span>交友令</span>
                          </h2>
                          <ul style="padding: 0 1rem">
                            <li>先友后链，申请前请先提前做好本站友情链接</li>
                            <li>不接受新站链接（3个月以内）</li>
                            <li>不与内容污秽、暴力的、广告挂马的网站交换</li>
                            <li>优先和具有原创作品的全站 HTTPS 站点交换</li>
                            <li>申请方式请在下方留言区留言, 格式如上文本站信息</li>
                          </ul>
                     </div>

                      <div th:replace="~{theme/wuxia/common :: comment(true)}"></div>
                  </div>
            </div>

            <div class="top-btn"></div>

            <div th:replace="~{theme/wuxia/common :: footer}"></div>
        </div>
        <div th:replace="~{theme/wuxia/common :: script}"></div>
</body>
</html>
